package top.api.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 *
 * @TableName class
 */
@Data
public class ClassAddDto implements Serializable {
    /**
     *
     */
    @NotBlank(message = "班级名称不可为空")
    private String classname;

    /**
     *
     */
    @NotBlank(message = "部门名称不可为空")
    private String department;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
